#ifndef MAIL_H
#define MAIL_H

#define MAIL_PROGRAM "mailx"
#define MAIL_TO_MAX_LEN 32
#define MAIL_SUBJECT_MAX_LEN 128
#define MAIL_CONTENT_MAX_LEN 4096
#define MAIL_CMD_MAX_LEN MAIL_TO_MAX_LEN + MAIL_SUBJECT_MAX_LEN + MAIL_CONTENT_MAX_LEN + 256

extern int send_mail(char *_to, char *_subject, char *_content);

#endif
